home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
utility
/
dboss3.zip
/
DBX-BAT.DOC
< prev
next >
Wrap
Text File
|
1992-04-01
|
6KB
|
274 lines
BATCH FILE MAINTENANCE
------------------------------------------------------------------------------
BATCH FILE DEFINITION
1 A BATCH FILE is any file with the following characteristics:
(A) File name extension of .BAT
Example: AUTOEXEC.BAT
(B) Contains one or more commands executed by DOS one at a time.
(C) File may receive external data to perform different functions on each
execution.
Example: 00.BAT (DOS BOSS general purpose batch file)
(D) File may be executed without entering .BAT
Example: Enter BOSS to execute BOSS.BAT
DOS BOSS utilizes a sequence of commands in a batch file as a road map
from DOS BOSS to a program or DOS command and back to DOS BOSS. Upon EXIT
TO DOS from an activity, DOS executes the next command in the active batch
file.
BATCH FILE COMMANDS
1 CALL FILE Executes BATCH FILE within batch file and returns to original
batch file.
2 CLS Clears the screen.
3 ECHO ON Enables display of DOS commands.
4 ECHO OFF Disables display of DOS commands.
5 ECHO TEXT Displays TEXT message.
6 PAUSE Suspends processing until keystroke. Displays:
STRIKE A KEY WHEN READY . . .
7 PAUSE TEXT Pauses and displays TEXT message.
8 PROMPT $P$G Sets DOS Prompt to display current or default DRIVE:PATH>
9 Refer to your DOS manual for information about other batch file commands.
10 Use the following example for applications that require a prompt message
or multiple commands before running.
ECHO OFF Disables display of DOS commands.
CLS Clears the screen.
ECHO TEXT Displays prompt TEXT message.
5-1
BATCH FILE MAINTENENCE
------------------------------------------------------------------------------
BATCH FILE COMMANDS (Continued)
PAUSE Suspends processing until keystroke. Displays:
STRIKE A KEY WHEN READY . . .
D: Changes to drive D:
CD\DIR Changes to directory named \DIR.
PGM1 Runs PGM1 (device driver, etc.).
PGM2 Runs PGM2 (application program).
Syntax: C:\BOSS\MS.BAT
Where: C: = DOS BOSS Drive.
\BOSS = DOS BOSS Path.
M = Main Menu Code.
S = Sub Menu Code.
BATCH FILE MAINTENANCE
1 Any text file up to 60 lines may be edited by using BATCH FILE
MAINTENANCE. This includes AUTOEXEC.BAT and CONFIG.SYS files.
2 Enter DRIVE:PATH\FILENAME.EXT for all files.
3 To load an existing file, depress the F02 Key.
F02
If a file can not be located, the following message will appear in the
MESSAGE LINE box.
DRIVE:PATH\FILENAME.EXT Error
4 To save the currently displayed file, depress the F03 Key.
F03
5 To delete any file, depress the F04 Key.
F04
6 To insert a blank line at the cursor position, depress the I Key while
holding the ALT Key.
ALT I
5-2
BATCH FILE MAINTENANCE
------------------------------------------------------------------------------
BATCH FILE MAINTENANCE (Continued)
7 To delete a line of text at the cursor position, depress the D Key while
holding the ALT Key.
ALT D
8 To move a line of text up or down, depress the Page Up Key or the Page
Down Key while holding the Control Key. The cursor will move with the
text.
CTRL PAGE UP
CTRL PAGE DOWN
9 To move the cursor to the beginning of text at the cursor line, depress
the Home Key.
HOME
10 To move the cursor to the end of text at the cursor line, depress the End
Key.
END
11 To delete a character at the cursor position, depress the Delete Key.
DELETE
12 To enable insertion of a character at the cursor position, depress the
Insert Key. Depress the Insert Key a second time to disable insertion.
INSERT
13 To move the cursor to the beginning of the next line, depress the Enter
Key.
ENTER
14 To move the cursor to any position within the data entry fields, depress
the cursor keys.
CURSOR UP
CURSOR DOWN
CURSOR RIGHT
CURSOR LEFT
15 To display help information, depress the H Key while holding the ALT Key.
ALT H
16 To remove the help display, depress the Escape Key or depress the H Key
while holding the ALT Key.
ESC or ALT H
5-3
BATCH FILE MAINTENANCE
------------------------------------------------------------------------------
BATCH FILE MAINTENANCE (Continued)
17 To print the currently displayed file, depress the P Key while holding the
Alt Key.
ALT P
18 To move to the DRIVE:PATH\FILENAME.EXT field from any location, depress
the Home Key while holding the Control Key.
CTRL HOME
19 To view the prior page or the next page, depress the Page Up Key or the
Page Down Key.
PAGE UP
PAGE DOWN
20 To exit from BATCH FILE MAINTENANCE and return to the UTILITIES menu,
depress the Escape Key.
ESC
5-4